﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Helper_View
{
    /// <summary>
    /// 每一小块图片的分析结果对象
    /// </summary>
    public class PieceResult
    {
        private string name = "";
        /// <summary>
        /// 此词条分析后得到的最高匹配度的字母名
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private int length = 0;
        /// <summary>
        /// 此词条的字数长度
        /// </summary>
        public int Length
        {
            get { return length; }
            set { length = value; }
        }
        private double matchRatio = 0;
        /// <summary>
        /// 与Name对应的字母的匹配度
        /// </summary>
        public double MatchRatio
        {
            get { return matchRatio; }
            set { matchRatio = value; }
        }
    }
}
